﻿using System;

namespace KPIS.GERP.GIMS.MODEL
{
    public class M_IcmInventoryRepair
    {
        private Int32 ICM_REPAIR_SEQ;
        private string ASSET_CODE;
        private Nullable<Int32> ICM_DEALER_REPAIR_SEQ;
        private Nullable<Int32> JOB_SITE_SEQ;
        private Nullable<Int32> ICM_WH_SEQ;
        private DateTime ICM_REPAIR_DATE;
        private string ICM_REPAIR_DESCR;
        private string ICM_CAUSE;
        private Nullable<DateTime> ICM_RECEIVE_DATE;
        private string ICM_REPAIR_REMARK;
        private Nullable<double> ICM_REPAIR_AMOUNT;
        private Nullable<double> REPAIR_DISCOUNT;
        private string REPAIR_STATUS;
        private string RECORD_STATUS;
        private Int32 CREATED_BY;
        private DateTime CREATED_WHEN;
        private Nullable<Int32> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;
        // Add
        private string ORGANIZE_SEND_REPAIR;
        private string ICM_DEALER_REPAIR_NAME;
        private string REPAIR_STATUS_NAME;
        private string JOB_SITE_NAME;
        private string WAREHOUSE_NAME;

            public Int32 icm_repair_seq
            {
              get { return ICM_REPAIR_SEQ; }
              set { ICM_REPAIR_SEQ = value; }
            }
            public string asset_code
            {
              get { return ASSET_CODE; }
              set { ASSET_CODE = value; }
            }
            public Nullable<Int32> icm_dealer_repair_seq
            {
              get { return ICM_DEALER_REPAIR_SEQ; }
              set { ICM_DEALER_REPAIR_SEQ = value; }
            }
            public Nullable<Int32> job_site_seq
            {
              get { return JOB_SITE_SEQ; }
              set { JOB_SITE_SEQ = value; }
            }
            public Nullable<Int32> icm_wh_seq
            {
              get { return ICM_WH_SEQ; }
              set { ICM_WH_SEQ = value; }
            }
            public DateTime icm_repair_date
            {
              get { return ICM_REPAIR_DATE; }
              set { ICM_REPAIR_DATE = value; }
            }
            public string icm_repair_descr
            {
              get { return ICM_REPAIR_DESCR; }
              set { ICM_REPAIR_DESCR = value; }
            }
            public string icm_cause
            {
              get { return ICM_CAUSE; }
              set { ICM_CAUSE = value; }
            }
            public Nullable<DateTime> icm_receive_date
            {
                get { return ICM_RECEIVE_DATE; }
                set { ICM_RECEIVE_DATE = value; }
            }
            public string icm_repair_remark
            {
              get { return ICM_REPAIR_REMARK; }
              set { ICM_REPAIR_REMARK = value; }
            }
            public Nullable<double> repair_amount
            {
              get { return ICM_REPAIR_AMOUNT; }
              set { ICM_REPAIR_AMOUNT = value; }
            }
            public Nullable<double> repair_discount
            {
              get { return REPAIR_DISCOUNT; }
              set { REPAIR_DISCOUNT = value; }
            }
            public string repair_status
            {
              get { return REPAIR_STATUS; }
              set { REPAIR_STATUS = value; }
            }
            public string record_status
            {
              get { return RECORD_STATUS; }
              set { RECORD_STATUS = value; }
            }
            public Int32 created_by
            {
              get { return CREATED_BY; }
              set { CREATED_BY = value; }
            }
            public DateTime created_when
            {
              get { return CREATED_WHEN; }
              set { CREATED_WHEN = value; }
            }
            public Nullable<Int32> updated_by
            {
              get { return UPDATED_BY; }
              set { UPDATED_BY = value; }
            }
            public Nullable<DateTime> updated_when
            {
                get { return UPDATED_WHEN; }
                set { UPDATED_WHEN = value; }
            }
            public string organize_send_repair
            {
                get { return ORGANIZE_SEND_REPAIR; }
                set { ORGANIZE_SEND_REPAIR = value; }
            }
            public string icm_dealer_repair_name
            {
                get { return ICM_DEALER_REPAIR_NAME; }
                set { ICM_DEALER_REPAIR_NAME = value; }
            }
            public string repair_status_name
            {
                get { return REPAIR_STATUS_NAME; }
                set { REPAIR_STATUS_NAME = value; }
            }
            public string job_site_name
            {
                get { return JOB_SITE_NAME; }
                set { JOB_SITE_NAME = value; }
            }
            public string warehouse_name
            {
                get { return WAREHOUSE_NAME; }
                set { WAREHOUSE_NAME = value; }
            }
    }
}
